.class Lcom/waiqin365/base/login/ad;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/waiqin365/base/login/LoginCheck2Activity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/ad;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public dispatchMessage(Landroid/os/Message;)V
    .locals 9

    const/16 v7, 0x2b67

    const/4 v2, 0x0

    const v6, 0x7f0802d3

    const/4 v3, 0x1

    const v5, 0x7f08013b

    iget-object v0, p0, Lcom/waiqin365/base/login/ad;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/login/LoginCheck2Activity;

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p1, Landroid/os/Message;->what:I

    if-eq v0, v7, :cond_2

    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0x56ce

    if-eq v0, v4, :cond_2

    invoke-virtual {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->dismissProgressDialog()V

    :cond_2
    iget v0, p1, Landroid/os/Message;->what:I

    if-ne v0, v7, :cond_4

    sget-object v0, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v0, v2}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->l(Lcom/waiqin365/base/login/LoginCheck2Activity;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->k(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, " "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p1, Landroid/os/Message;->arg1:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "s"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_3
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->l(Lcom/waiqin365/base/login/LoginCheck2Activity;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p1, Landroid/os/Message;->arg1:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->k(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_4
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0x56ce

    if-ne v0, v4, :cond_5

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->l(Lcom/waiqin365/base/login/LoginCheck2Activity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->k(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->m(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    goto :goto_0

    :cond_5
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0x9

    if-ne v0, v4, :cond_f

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/au;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/au;->b()Z

    move-result v2

    if-eqz v2, :cond_e

    iget-object v2, v0, Lcom/waiqin365/base/login/b/a/au;->d:Ljava/lang/String;

    const-string/jumbo v4, "1"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_6

    invoke-virtual {v1, v6}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    const-string/jumbo v4, "0"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_8

    :cond_7
    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_8
    const-string/jumbo v2, "\u6700\u591a\u53d1\u9001"

    invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_a

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->n(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/util/Timer;

    move-result-object v2

    if-eqz v2, :cond_9

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->n(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/util/Timer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Timer;->cancel()V

    :cond_9
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->l(Lcom/waiqin365/base/login/LoginCheck2Activity;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->o(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    invoke-static {v1, v3}, Lcom/waiqin365/base/login/LoginCheck2Activity;->d(Lcom/waiqin365/base/login/LoginCheck2Activity;Z)Z

    :cond_a
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_b
    iget-object v2, v0, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    if-eqz v2, :cond_c

    iget-object v2, v0, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_d

    :cond_c
    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    :cond_d
    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_e
    iget v0, v0, Lcom/waiqin365/base/login/b/a/au;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_f
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0xf

    if-ne v0, v4, :cond_16

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/ak;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/ak;->b()Z

    move-result v2

    if-eqz v2, :cond_15

    const-string/jumbo v2, "1"

    iget-object v4, v0, Lcom/waiqin365/base/login/b/a/ak;->c:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_10

    iget-object v2, v0, Lcom/waiqin365/base/login/b/a/ak;->d:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/waiqin365/base/login/LoginCheck2Activity;->a(Lcom/waiqin365/base/login/LoginCheck2Activity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/ak;->e:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/LoginCheck2Activity;->b(Lcom/waiqin365/base/login/LoginCheck2Activity;Ljava/lang/String;)Ljava/lang/String;

    invoke-virtual {v1, v6}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_10
    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/ak;->f:Ljava/lang/String;

    if-eqz v0, :cond_11

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_12

    :cond_11
    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_12
    const-string/jumbo v2, "\u6700\u591a\u53d1\u9001"

    invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_14

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->n(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/util/Timer;

    move-result-object v2

    if-eqz v2, :cond_13

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->n(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/util/Timer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Timer;->cancel()V

    :cond_13
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->l(Lcom/waiqin365/base/login/LoginCheck2Activity;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->o(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    invoke-static {v1, v3}, Lcom/waiqin365/base/login/LoginCheck2Activity;->d(Lcom/waiqin365/base/login/LoginCheck2Activity;Z)Z

    :cond_14
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_15
    iget v0, v0, Lcom/waiqin365/base/login/b/a/ak;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_16
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0xe

    if-ne v0, v4, :cond_1b

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/bc;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/bc;->b()Z

    move-result v2

    if-eqz v2, :cond_1a

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/base/login/b/a/bc;->c:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_17

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/base/login/LoginModifyPassActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "tenantId"

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->p(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "userId"

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->q(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "phoneNumber"

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->r(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginCheck2Activity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/base/login/LoginCheck2Activity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :cond_17
    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/bc;->d:Ljava/lang/String;

    if-eqz v0, :cond_18

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_19

    :cond_18
    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    :cond_19
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->s(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    goto/16 :goto_0

    :cond_1a
    iget v0, v0, Lcom/waiqin365/base/login/b/a/bc;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_1b
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0x16

    if-ne v0, v4, :cond_20

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/ba;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/ba;->b()Z

    move-result v2

    if-eqz v2, :cond_1f

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/base/login/b/a/ba;->c:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1c

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/base/login/LoginDetailRegisterActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "mobile"

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->r(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginCheck2Activity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/base/login/LoginCheck2Activity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :cond_1c
    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/ba;->d:Ljava/lang/String;

    if-eqz v0, :cond_1d

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_1e

    :cond_1d
    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    :cond_1e
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->s(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    goto/16 :goto_0

    :cond_1f
    iget v0, v0, Lcom/waiqin365/base/login/b/a/ba;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_20
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v4, 0x18

    if-ne v0, v4, :cond_26

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/av;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/av;->b()Z

    move-result v2

    if-eqz v2, :cond_25

    iget-object v2, v0, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    const-string/jumbo v4, "1"

    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/av;->c:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_21

    invoke-virtual {v1, v6}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_21
    if-eqz v2, :cond_22

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_2e

    :cond_22
    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    const-string/jumbo v2, "\u6700\u591a\u53d1\u9001"

    invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_24

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->n(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/util/Timer;

    move-result-object v2

    if-eqz v2, :cond_23

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->n(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/util/Timer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Timer;->cancel()V

    :cond_23
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->l(Lcom/waiqin365/base/login/LoginCheck2Activity;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->o(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    invoke-static {v1, v3}, Lcom/waiqin365/base/login/LoginCheck2Activity;->d(Lcom/waiqin365/base/login/LoginCheck2Activity;Z)Z

    :cond_24
    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_25
    iget v0, v0, Lcom/waiqin365/base/login/b/a/av;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_26
    iget v0, p1, Landroid/os/Message;->what:I

    if-ne v0, v3, :cond_2d

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v4, v0

    check-cast v4, Lcom/waiqin365/base/login/b/a/ao;

    invoke-virtual {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->dismissProgressDialog()V

    invoke-virtual {v4}, Lcom/waiqin365/base/login/b/a/ao;->b()Z

    move-result v0

    if-eqz v0, :cond_2b

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v0

    iget-object v5, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v5, v5, Lcom/waiqin365/base/login/c/h;->h:Ljava/lang/String;

    iput-object v5, v0, Lcom/fiberhome/gaea/client/c/b;->r:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v0

    iget-object v5, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v5, v5, Lcom/waiqin365/base/login/c/h;->i:Ljava/lang/String;

    iput-object v5, v0, Lcom/fiberhome/gaea/client/c/b;->s:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v0

    iget-object v5, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v5, v5, Lcom/waiqin365/base/login/c/h;->d:Ljava/lang/String;

    iput-object v5, v0, Lcom/fiberhome/gaea/client/c/b;->t:Ljava/lang/String;

    const-string/jumbo v0, "0"

    iget-object v5, v4, Lcom/waiqin365/base/login/b/a/ao;->c:Ljava/lang/String;

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_27

    invoke-virtual {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->dismissProgressDialog()V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    iget-object v3, v4, Lcom/waiqin365/base/login/b/a/ao;->e:Ljava/lang/String;

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/base/login/ae;

    invoke-direct {v5, p0, v1}, Lcom/waiqin365/base/login/ae;-><init>(Lcom/waiqin365/base/login/ad;Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/LoginCheck2Activity;->a(Lcom/waiqin365/base/login/LoginCheck2Activity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->j(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const v2, 0x7f080700

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v3, 0x7f0c0067

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->j(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_27
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v5, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v6, "_loginCompany"

    const-string/jumbo v7, ""

    invoke-direct {v5, v6, v7}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v5, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v6, "_loginAccount"

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->r(Lcom/waiqin365/base/login/LoginCheck2Activity;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v5, v6, v7}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v5, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v6, "_loginPassword"

    const-string/jumbo v7, ""

    invoke-direct {v5, v6, v7}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v5, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v6, "_loginType"

    const-string/jumbo v7, "4"

    invoke-direct {v5, v6, v7}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-static {v1, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/util/ArrayList;)V

    invoke-static {v1, v4}, Lcom/waiqin365/base/login/LoginCheck2Activity;->a(Lcom/waiqin365/base/login/LoginCheck2Activity;Lcom/waiqin365/base/login/b/a/ao;)Lcom/waiqin365/base/login/b/a/ao;

    iget-object v0, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    if-eqz v0, :cond_28

    iget-object v0, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    const-string/jumbo v5, "http"

    invoke-virtual {v0, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_28

    move v7, v3

    :goto_2
    iget-object v0, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/h;->f:Ljava/lang/String;

    if-eqz v0, :cond_29

    iget-object v0, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    iget-object v0, v0, Lcom/waiqin365/base/login/c/h;->f:Ljava/lang/String;

    const-string/jumbo v5, "http"

    invoke-virtual {v0, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_29

    move v8, v3

    :goto_3
    if-nez v7, :cond_2a

    if-nez v8, :cond_2a

    invoke-virtual {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->dismissProgressDialog()V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->t(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    goto/16 :goto_0

    :cond_28
    move v7, v2

    goto :goto_2

    :cond_29
    move v8, v2

    goto :goto_3

    :cond_2a
    invoke-static {}, Lcom/waiqin365/compons/b/b;->a()Lcom/waiqin365/compons/b/b;

    move-result-object v2

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->d(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/base/login/ad;

    move-result-object v3

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->u(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/compons/view/a;

    move-result-object v5

    iget-object v6, v4, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    move-object v4, v1

    invoke-virtual/range {v2 .. v8}, Lcom/waiqin365/compons/b/b;->a(Landroid/os/Handler;Landroid/content/Context;Lcom/waiqin365/compons/view/a;Lcom/waiqin365/base/login/c/h;ZZ)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->t(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    goto/16 :goto_0

    :cond_2b
    invoke-virtual {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->dismissProgressDialog()V

    iget v0, v4, Lcom/waiqin365/base/login/b/a/ao;->b:I

    if-lez v0, :cond_2c

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->j(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v2

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->a(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    :goto_4
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->j(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_2c
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->j(Lcom/waiqin365/base/login/LoginCheck2Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck2Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    goto :goto_4

    :cond_2d
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v2, 0x2710

    if-ne v0, v2, :cond_0

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck2Activity;->t(Lcom/waiqin365/base/login/LoginCheck2Activity;)V

    goto/16 :goto_0

    :cond_2e
    move-object v0, v2

    goto/16 :goto_1
.end method
